define(['app'],function (app) {
    app.controller('friendCtrl', ['$scope', function($scope) {
      $scope.light = function ($event){
        var x = $event.target;
        angular.element(x).addClass('red');
      }
    }]);
});

